Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate to NULLIF #32710

Closed
wants to merge 1 commit into from
Closed

Translate to NULLIF #32710

wants to merge 1 commit into from

Conversation

cloudlucky
Copy link

Adding NullIf to DbFunctions (Related issue #31682)

I created a new Translator to handle the NullIf method.
It's similar to the RandomTranslator.

this DbFunctions _,
T expression,
T matchExpression)
=> throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(Collate)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be

Suggested change
=> throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(Collate)));
=> throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(NullIf)));

@ajcvickers
Copy link
Member

Closing because CLA is not signed.

@ajcvickers ajcvickers closed this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants